package com.it.gmall.payment.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name = "service-payment")
public interface PaymentFeignClient {
    // 关闭交易接口
    @GetMapping("/api/payment/alipay/tradeClose")
    public String alipayTradeClose(long orderId);
}
